package com.online.shopping.service;

import com.online.shopping.pojo.TbTypeTemplate;

import java.util.List;
import java.util.Map;

/**
 * @author Rui
 * @version 1.0
 * @date 2020/11/15 13:10
 */
public interface TemplateService {

    public List<TbTypeTemplate> findAllTemps();

    public TbTypeTemplate findTempById(Long id);

    public int addTemp(TbTypeTemplate template);

    public void delTemp(Long id);

    public int updateTemp(TbTypeTemplate template);

    public List<Map> findSpecList(Long id);
}
